From d305c9af08dae31129c4025d51a0879a36424fcc Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 1 May 2006 17:41:02 +0100 Subject: [PATCH] A few functions should be static in shutdown.c. Signed-off-by: Keir Fraser --- xen/arch/x86/shutdown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c index bf9015280a..45085d203d 100644 --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -41,7 +41,7 @@ static inline void kb_wait(void) break; } -void __attribute__((noreturn)) __machine_halt(void *unused) +static void __machine_halt(void *unused) __attribute__((noreturn)) { for ( ; ; ) __asm__ __volatile__ ( "hlt" ); @@ -127,7 +127,7 @@ static const unsigned char jump_to_bios [] = * specified by the code and length parameters. * We assume that length will aways be less that MAX_LENGTH! */ -void machine_real_restart(const unsigned char *code, unsigned length) +static void machine_real_restart(const unsigned char *code, unsigned length) { local_irq_disable(); -- 2.30.2